system-linux: create bridge devices using netlink
authorFelix Fietkau <[email protected]>
Tue, 1 Feb 2022 10:56:54 +0000 (11:56 +0100)
committerFelix Fietkau <[email protected]>
Tue, 1 Feb 2022 10:56:56 +0000 (11:56 +0100)
commit85c3548069a751f0b854b5816db6ee7142aec07b
tree617937b0e6220c62f9a931869c89c9108e4bb71f
parented7187684685430ee6de49e551775badbee39761
system-linux: create bridge devices using netlink

The legacy ioctl + sysfs configuration is deprecated, and the netlink code
is smaller and easier to read

Signed-off-by: Felix Fietkau <[email protected]>
system-linux.c